package model.exceptions

import model.exceptions.ErrorCode.ErrorCode

abstract class AbstractBusinessException(val errorCode: ErrorCode,
                                         val msg: String)
    extends RuntimeException(s"code: ${errorCode.id}, msg: $msg")
